package cn.ddiancan.xddcloud.psc.flow.config;

import cn.ddiancan.xddcloud.psc.flow.engine.scheduling.RemindParam;
import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.NestedConfigurationProperty;

/**
 * 配置属性
 * @since 1.0
 */
@Getter
@Setter
@ConfigurationProperties(prefix = "xddcloud.flow")
public class XddcloudProperties {

    /**
     * 提醒时间
     */
    @NestedConfigurationProperty
    private RemindParam remind;

    /**
     * 事件监听配置
     */
    @NestedConfigurationProperty
    private EventingParam eventing;

}
